package com.ruoyi.card.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 员工打卡表对象 sill_card
 * 
 * @author ruoyi
 * @date 2024-08-12
 */
public class SillCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String sillCardName;

    /** 员工工号 */
    @Excel(name = "员工工号")
    private String sillCardNum;

    /** 员工打卡时间 */

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Excel(name = "员工打卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sillCardTime;

    /** 打卡年月 */
    @Excel(name = "打卡年月")
    private String sillCardDay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSillCardName(String sillCardName) 
    {
        this.sillCardName = sillCardName;
    }

    public String getSillCardName() 
    {
        return sillCardName;
    }
    public void setSillCardNum(String sillCardNum) 
    {
        this.sillCardNum = sillCardNum;
    }

    public String getSillCardNum() 
    {
        return sillCardNum;
    }
    public void setSillCardTime(Date sillCardTime) 
    {
        this.sillCardTime = sillCardTime;
    }

    public Date getSillCardTime() 
    {
        return sillCardTime;
    }
    public void setSillCardDay(String sillCardDay) 
    {
        this.sillCardDay = sillCardDay;
    }

    public String getSillCardDay() 
    {
        return sillCardDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sillCardName", getSillCardName())
            .append("sillCardNum", getSillCardNum())
            .append("sillCardTime", getSillCardTime())
            .append("sillCardDay", getSillCardDay())
            .toString();
    }
}
